/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

import java.util.Date;

/**
 * 拣货明细Entity
 * @author 李超辉
 * @version 2017-12-13
 */
public class PickDetailed extends DataEntity<PickDetailed> {
	
	private static final long serialVersionUID = 1L;
	private String pro;
	private String outbount;		// 出库单
	private String location;		// 来源货位
	private String name;		// 物料名称
	private String code;		// 物料编码
	private String bach;            //批次
	private Date  pickDate;  //拣货日期
	private String amount;		// 拣货数量
	private String pamount;    //捡货整件数量
	private int tp;            //整托盘数
	private int ls;            //零散数量
	private String productAddress;//产地
	private String unit;		// 单位
	private String status;		// 状态
	private String no;		// 箱号
	private  String number; //提货单号
	private  String shippingOrder; //装运单号
	private String workType ;  //作业类型
	private String zh;
	private String zq;

	public String getZh() {
		return zh;
	}

	public void setZh(String zh) {
		this.zh = zh;
	}

	public String getZq() {
		return zq;
	}

	public void setZq(String zq) {
		this.zq = zq;
	}

	public String getWorkType() {
		return workType;
	}

	public void setWorkType(String workType) {
		this.workType = workType;
	}
	public String getPro() {
		return pro;
	}

	public void setPro(String pro) {
		this.pro = pro;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getPickDate() {
		return pickDate;
	}

	public void setPickDate(Date pickDate) {
		this.pickDate = pickDate;
	}

	public String getPamount() {
		return pamount;
	}

	public void setPamount(String pamount) {
		this.pamount = pamount;
	}

	public PickDetailed() {
		super();
	}

	public PickDetailed(String id){
		super(id);
	}

	public String getBach() {
		return bach;
	}

	public void setBach(String bach) {
		this.bach = bach;
	}

	public int getTp() {
		return tp;
	}

	public void setTp(int tp) {
		this.tp = tp;
	}

	public int getLs() {
		return ls;
	}

	public void setLs(int ls) {
		this.ls = ls;
	}

	public String getProductAddress() {
		return productAddress;
	}

	public void setProductAddress(String productAddress) {
		this.productAddress = productAddress;
	}

	@ExcelField(title="出库单", align=2, sort=1)
	public String getOutbount() {
		return outbount;
	}

	public void setOutbount(String outbount) {
		this.outbount = outbount;
	}
	
	@ExcelField(title="来源货位", align=2, sort=2)
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	@ExcelField(title="物料名称", align=2, sort=3)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="物料编码", align=2, sort=4)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@ExcelField(title="拣货数量", align=2, sort=5)
	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}
	
	@ExcelField(title="单位", align=2, sort=6)
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	@ExcelField(title="状态", align=2, sort=7)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@ExcelField(title="箱号", align=2, sort=8)
	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	@ExcelField(title = "提货单号",align = 2,sort = 9)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	@ExcelField(title = "装运单号",align = 2,sort = 10)

	public String getShippingOrder() {
		return shippingOrder;
	}

	public void setShippingOrder(String shippingOrder) {
		this.shippingOrder = shippingOrder;
	}
}